﻿using System.Data.Entity.ModelConfiguration;
using Nop.Core.Domain.Coffee;

namespace Nop.Data.Mapping.Coffee
{
    public partial class BlendMap : EntityTypeConfiguration<Blend>
    {
      
        public BlendMap() 
        {
            this.ToTable("EcrBlend");
            this.HasKey(d => d.Id);
            this.Property(d => d.Name).IsRequired().HasMaxLength(50);
            this.Property(d => d.Description).HasMaxLength(200);
            this.Property(d => d.IsActive);

        }
    }
}
